<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="HandheldFriendly" content="true" />
    <meta name="MobileOptimized" content="320" />
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" type="text/css" href="css/mui.min.css"/>
    <title>文章详情</title>
    <style>
        .notice-hea {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            height: 40px;
            padding: 0 20px;
            display: flex;
            align-items: flex-end;
        }
        
        .notice-hea>span {
            margin-left: 18px;
            font-size: 17px;
        }
        
        .notice-list-wrap {
            position: fixed;
            top: 50px;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 20px;
            overflow: auto;
        }
        
        .notice-list-wrap::-webkit-scrollbar {
            width: 0;
        }
        
        .notice-list-wrap>h1 {
            font-size: 16px;
            text-align: center;
            font-weight: 700;
        }
        
        .notice-list-wrap>div {
            padding: 15px 0;
            font-size: 13px;
            color: #999;
        }
        
        .notice-list-wrap>div:first-of-type {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }
        
        .share-img {
            margin-left: 20px;
            display: flex;
            align-items: center;
            color: #7386a5;
        }
        
        .article-body {
            font-size: 14px;
            line-height: 22px;
        }
        
        .article-body img {
            width: 100%;
        }
    </style>
</head>

<body>
    <div id='app'>
        <div class='notice-hea'>
            <img @tap='_close();' src="img/right-black.svg" style="width: 20px;height: 20px;">
            <span>公告详情</span>
        </div>
        <div class='notice-list-wrap'>
            <h1 v-text='notice.title'>文章标题</h1>
            <div>
                <p v-text='notice.addtime'>2018</p>
            </div>
            <div class='article-body' v-html='notice.context'></div>
        </div>
    </div>
    <script src="js/comm.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/vue.min.js"></script>
    <script src="js/mui.min.js" type="text/javascript" charset="utf-8"></script>
    <script>
    	var notice=function(notice){
    		app.$data.notice=JSON.parse(notice);
    	};
        var app = new Vue({
            el: '#app',
            data: {
            	notice:{"Id":2,"title":"","context":"","addtime":100003,"fabulous":44,"Sort":3}
            },
            methods: {
            }
        });
    </script>
</body>

</html>